package com.zzu.base.common.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;
import lombok.Setter;

@Getter
public enum SexEnum {
    MALE(0,"男性"),
    FEMALE(1,"女性"),
    UNKNOWN(2,"未知");
    @EnumValue
    @JsonValue
    private  final int id;
    private final String description;
    SexEnum(int id,String description){
        this.id=id;
        this.description=description;
    }
}
